package kr.ac.kaist.vrowser.data;

public class Option<T> {
	
	private T _value;

	public Option(T value) {
		_value = value;
	}
	
	public boolean isSome() {
		return _value != null;
	}
	
	public boolean isNone() {
		return _value == null;
	}
	
	public T getValue() {
		return _value;
	}
}
